<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui" xmlns:ui="http://java.sun.com/jsf/facelets" template="/protected/template/template.xhtml">
	<ui:define name="content">
		<p:panel header="Client Management">
			<p:messages />
			<p:panelGrid>
				<p:row>
					<p:column>
						<p:outputLabel value="Name" for="name" />
					</p:column>
					<p:column>
						<p:inputText id="name" value="#{clientManagementBean.client.name}" required="true" />
					</p:column>
				</p:row>
				<p:row>
					<p:column>
						<p:outputLabel value="Retention Period" for="retentionPeriod" />
					</p:column>
					<p:column>
						<p:inputText id="retentionPeriod" value="#{clientManagementBean.client.retentionPeriod}" required="true" />
					</p:column>
				</p:row>
				<p:row>
					<p:column />
					<p:column>
						<p:slider for="retentionPeriod" minValue="30" maxValue="180" />
					</p:column>
				</p:row>
				<p:row>
					<p:column>
						<p:commandButton value="Save" action="#{clientManagementBean.save}" ajax="false" />
					</p:column>
				</p:row>
			</p:panelGrid>
		</p:panel>
	</ui:define>
</ui:composition>
